package com.hiof.location.earcon;

/**
 * Created with IntelliJ IDEA.
 * User: manish
 * Date: 4/20/12
 * Time: 8:20 PM
 * To change this template use File | Settings | File Templates.
 */
public class EarconManagerFactory {
    public static EarconManager getEarconManager(EntityRelationship relationship) {
        if (relationship == EntityRelationship.ATHLETE_AND_NEXT_TARGET) {
            return EncourageNotificationManager.getInstance();
        } else if (relationship == EntityRelationship.ATHLETE_AND_SUPPORT) {
            return BeepingNotificationManager.getInstance();
        } else if (relationship == EntityRelationship.ATHLETE_AND_HOTSPOT) {
            return BeepingNotificationManager.getInstance();
        }
        return BeepingNotificationManager.getInstance();
    }
}
